/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.alxbrendmaquinarias.util;

/**
 *
 * @author Max
 */
public class VarUtil {

    public static String MONEDA_SOLES = "SOLES";
    public static String MONEDA_DOLARES = "DOLARES";
    public static String MONEDA_EUROS = "EUROS";
    
    public static String DEUDA = "DEUDA";
    public static String PAGO = "PAGO";

    public static double roundDouble(double numero, int digitos) {
        int cifras = (int) Math.pow(10, digitos);
        return Math.rint(numero * cifras) / cifras;
    }

}
